package com.util;

import java.util.ResourceBundle;

/**
 * Created by ke on 2015/10/10.
 */
public class PropertiesUtil {
    //在classPath路径下的文件
    private static ResourceBundle runConfig;

    private PropertiesUtil() {

    }

    static {
        runConfig = ResourceBundle.getBundle("runConfig");
    }

    public static String getRunConfig(String key) {
        return runConfig.getString(key);
    }

}
